package com.noahedu.style.ui;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

import com.noahedu.style.R;
/**
 * 
 * 
 *  入口
 *  
 * @author lenovo
 *
 */
public class Test_StyleActivity extends Activity
{

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);

		View tocharV = findViewById(R.id.main_char);
		View toPragrahV = findViewById(R.id.main_pragrah);

		
		
		
		
		tocharV.setOnClickListener(new OnClickListener()
		{
			@Override
			public void onClick(View v)
			{
				Intent intent = new Intent(Test_StyleActivity.this,Test_CharActivity.class);
				startActivity(intent);

			}
		});
		
		toPragrahV.setOnClickListener(new OnClickListener()
		{
			@Override
			public void onClick(View v)
			{
				Intent intent = new Intent(Test_StyleActivity.this,Test_ParagraphActivity.class);
				startActivity(intent);
				
			}
		});

	}
}
